using UnityEngine;

public class RCCChildFixedCam : MonoBehaviour
{
	[HideInInspector]
	public Transform player;

	public float distance = 50f;

	private void Update()
	{
		if ((bool)player)
		{
			Transform transform = base.transform;
			Vector3 position = player.position;
			float x = position.x;
			Vector3 position2 = player.position;
			float y = position2.y;
			Vector3 position3 = player.position;
			transform.LookAt(new Vector3(x, y, position3.z));
		}
	}
}
